package Final;

import java.util.Scanner;

public class test02 {

    public static void main(String[] args) {
        final int HUMANNUM=10;
        String persons[]=new String[HUMANNUM];
        Scanner in=new Scanner(System.in);
        for(int i=0;i<persons.length;i++)
            persons[i]=in.nextLine();
        int result=numofHan(persons);
        System.out.println(result);
    }

    private static int numofHan(String[] persons) {
        int sum = 0;
        for (int count = 0; count < persons.length; count++) {
            if (persons[count].contains("汉族")){
                sum++;
            }
        }
        return sum;
    }

    /*在此处给出函数numofHan()*/

}

